package work.Work6;

public class Dmo6 {
    public static void main(String[] args) {

        Feeder f = new Feeder();

        f.feed(new Dog());

        f.feed(new Frog());

        f.feed(new Sheep());
    }
}